import common.Utils;
import test.*;
import common.Utils;

public class RunCase {
    public static void main(String[] args) throws InterruptedException {
        //注册页
        RegisterPage registerPage = new RegisterPage();
        registerPage.register();
        registerPage.abnormalPassword();
        registerPage.abnormalUser();


        //登录
        LoginPage loginPage = new LoginPage();
        loginPage.AbnormalLogin();
        loginPage.login();


        //主页
        HomePage homePage = new HomePage();
        homePage.SwitchNight();
        homePage.OtherPeople();

        //个人中心
        PersonalCenter personalCenter = new PersonalCenter();
        personalCenter.changeInformation();
        personalCenter.profilePicture();
        personalCenter.changePassword();


        //我的帖子
        MyPost myPost = new MyPost();
        myPost.thumbsUp();
        myPost.edit();
        myPost.delete();



        Utils.driver.quit();
    }
}
